package com.wwm.springcloud.userservice.service.impl;

import com.wwm.springcloud.userservice.bean.PortalUser;
import com.wwm.springcloud.userservice.dao.PortalUserDao;
import com.wwm.springcloud.userservice.service.PortalUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * All rights Reserved, Designed By www.baiwang.com
 *
 * @version v1.0
 * @author: 夜辰枫
 * @date:
 * @Copyright: www.baidu.com Inc. All rights reserved.
 */
@Service
public class PortalUserServiceImpl implements PortalUserService
{
    @Autowired
    private PortalUserDao userDao;

    @Override
    public PortalUser findUserByName(String username) {
        return userDao.findUserByName(username);
    }
}
